#pragma once
#include "BaseObject.h"
#include "../SGD Wrappers/SGD_Listener.h"

class Computer : public BaseObject, public SGD::Listener
{
	std::string triggerEvent;

	std::string shutDownEvent;
public:
	Computer();
	virtual ~Computer();
	virtual void Render(){}
	/*virtual*/ SGD::Rectangle GetRect(void) const { return SGD::Rectangle(); }

	virtual void HandleCollision(const IBase* pOther) override;
//	virtual SGD::Rectangle GetRect(void)	const;
	virtual int GetType(void) const { return OBJ_COMPUTER; }
	void SetShutDownEvent(const char* _shutDownEvent) { shutDownEvent = _shutDownEvent; }
	void SetTriggerEvent(const char* _triggerEvent) { triggerEvent = _triggerEvent; }
	virtual void HandleEvent(const SGD::Event* pEvent) override;
};

